package com.sky.controller.test1;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

public class Test08 {
    public static void main(String[] args) {
        //用数组装十个学生的数据
        Student01[] students = new Student01[10];
        students[0] = new Student01("张三",1,"高一");
        students[1] = new Student01("李四",2,"高二");
        students[2] = new Student01("王五",3,"高三");
        students[3] = new Student01("赵六",4,"高一");
        students[4] = new Student01("孙七",5,"高二");
        students[5] = new Student01("周八",6,"高三");
        students[6] = new Student01("吴九",7,"高一");
        students[7] = new Student01("郑十",8,"高二");
        students[8] = new Student01("王十一",9,"高三");
        students[9] = new Student01("李十二",10,"高一");

    }
}
@Data
@AllArgsConstructor
@NoArgsConstructor
class Student01 {
    private String name;
    private int sex;
    private String grades;
}
class StudentDao01 implements StudentService01{}
class StudentDao02 implements StudentService02{}
interface StudentService01{

}
interface StudentService02{}
